package ooday04.Animals;

public class Dog extends Animal implements Swim {
    Dog(int age,String name,String color){
        super(age,name,color);
    }
    void eat() {
        System.out.println(name+"狗狗在吃骨头...");
    }
    public void swim(){
        System.out.println(name+"狗狗会游泳...");
    }
}
